import http from '@/utils/http';

const dictionarycategory = {
  //字典类型详情
  detail(id: Number) {
    let url = '/DictionaryCategory/Detail';
    let params = { id: id };
    return http.get(url, params);
  },
  //字典类型保存
  save(role: Object) {
    let url = '/DictionaryCategory/Save';
    return http.post(url, role);
  },
};
export default dictionarycategory;
